package com.jt.www.enums;

public interface ErrorCode {
    String SUCCESS_MSG = "成功";
    int SUCCESS_CODE = 200;
    int PARAM_ERROR_CODE = 401;
    String PARAM_ERROR_MSG = "请求参数错误";
    int URL_ERROR_CODE = 403;
    String URL_ERROR_MSG = "未授权的访问";
    int RESOUCE_ERROR_CODE = 404;
    String RESOUCE_ERROR_MSG = "资源不存在";
    int SERVER_ERROR_CODE = 500;
    String SERVER_ERROR_MSG = "服务器内部错误";

    int REDIRECT_CODE = 302;
    String REDIRECT_MSG = "";

    //成功0000
    String SUCCESS_CODE_0000 = "0000";

    //失败9999
    String ERROR_CODE_9999 = "9999";

}
